package urnoted;

import java.awt.Color;

public enum Note {
    C4(60), 
    D4(62), //30
    E4(64), //15
    F4(65), //0
    G5(67),
    A5(69), 
    B5(71), 
    C5(73), 
    D5(75), 
    E5(77), 
    F5(79);
    
    //A5(67), 
    //B5(69), 
    //C5(71), 
    //D5(67), 
    //E5(52), 
    //F5(37), 
    //G5(22);

    private static int DEFAULT_BEATS = 1;

    private int mPitch;
    private int mBeats;
    private Color mColor;
    private boolean mVisible;
    private int mPosition;

    private Note(int pitch)
    {
        mPitch = pitch;
        mBeats = 1;
        mColor = Color.BLACK;
        mVisible = false;
    }

    public int getPitch()
    {
        return mPitch;
    }


    public int getBeats()
    {
        return mBeats;
    }

    public void setBeats(int beats)
    {
        mBeats = beats;
    }

    public Color getColor()
    {
        return mColor;
    }

    public void setColor(Color color){
        mColor = color;
    }


    public boolean getVisible() {
        return mVisible;
    }

    public void setVisible(boolean visible) {
        mVisible = visible;
    }

    public int getmPosition() {
        return mPosition;
    }

    public void setmPosition(int mPosition) {
        this.mPosition = mPosition;
    }
}

